<!--src/main/resources/templates/articletype/delete.html-->
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head><meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>确认删除</title>
    <link rel="stylesheet" type="text/css" th:href="@{/css/deletestyles.css}">
</head>
<body>

<h2>确认删除</h2>

<p>您确定要删除该文章类型吗？</p>
<table>
    <thead>
    <tr>
        <th>文章类型编号</th>
        <th>文章类型</th>
    </tr>
    </thead>
    <tr>
        <td th:text="${articletype.id}"></td>
        <td th:text="${articletype.type}"></td>
    </tr>
</table>

    <form method="post" th:action="@{/articletype/delete/{id}(id=${articletype.id})}">
        <input type="submit" value="确认删除" class="confirm-btn">
    </form>
    <a th:href="@{/articletype/findAll}" class="cancel-btn">取消</a>

</body>
</html>
